package com.example.springioc.Model;

import lombok.Data;


public class UserInfo {
    private String name;
    private Integer age;

    public UserInfo(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                '}';
    }
}
